package com.lzhsite.technology.designPattern.factory.abstructFactory;

import com.lzhsite.technology.designPattern.factory.simpleFactory.ICar;
import com.lzhsite.technology.designPattern.factory.simpleFactory.TopCar;

/**
 *  类描述：高档汽车工厂类
 * 
 */
public class TopFactory extends AbstractFactory {
	
	@Override
	public ICar create() {
		
		return new TopCar();
	}
	@Override
	public IBus createBus() {
		
		return new UpBus();
	}
}
